/* file ndobject.h
 * header file of class NDObject 
 *
 * 2009-4-24 23:04
 */

#ifndef _NDOBJECT_H_
#define _NDOBJECT_H_

#include <stdexcept>
using namespace std ;
//#pragma  warning(push)
#pragma  warning (disable : 4290 )
#pragma  warning (disable : 4291 )
class NDObject 
{
protected :
	NDObject() {}
	virtual ~NDObject() {}
public :
	void *operator new(size_t size) throw (std::bad_alloc);
	void *operator new[](size_t size) throw (std::bad_alloc);
	void operator delete(void *p) throw();
	void operator delete[](void *p) throw();
	
};

//#pragma warning (pop)

#endif 
